package controlybxb

import "fmt"

/**
 * @ProjectName: go-learn-demo
 * @PackageName: _4_control
 * @Description:
 * @Author: hy.bai
 * @Date: 2025-07-25 13:59
 */
func TestSwitch() {

	var score = "E"

	switch score {
	case "A":
		fmt.Println("优秀")
	case "B":
		fmt.Println("良好")
	case "C":
		fmt.Println("及格")
	default:
		fmt.Println("不及格")
	}

}
